function EFFECT:Init(data)
	local numParts = 90
	local ePos = data:GetOrigin()
	local emitter = ParticleEmitter(ePos)
	local eAng = data:GetAngle()
	local eBlue = (data:GetMagnitude()==0)
	local eX = eAng:Right()
	local eY = eAng:Up()
	genParts(ePos,eX*16,eY*24,32,80,emitter)
	emitter:Finish()
end

function genParts(center,right,up,velMag,numParts,emitter)
	for i=0, numParts-1 do
		local ang = 6.3832*4*i/numParts
		local pos = (math.cos(ang) + .5 - math.random())*right + (math.sin(ang) + .5 - math.random())*up
		local vel = pos:GetNormal() * velMag
		local particle = emitter:Add("sprites/glow",pos + center)
		if particle then
			particle:SetColor(255,255,255,255)
			particle:SetVelocity(vel)
			particle:SetLifeTime(0)
			particle:SetDieTime(0.25)
			particle:SetStartAlpha(255)
			particle:SetEndAlpha(1)
			particle:SetStartSize(10)
			particle:SetEndSize(4)
		end
	end
end